package com.fudan.adse.domain.po;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @desc mbg自动生成wallet表实体类
 * @date 2022-11-25 06:30
 */
public class Wallet implements Serializable {
    private Integer id;

    /**
     * 用户名
     *
     * @mbg.generated
     */
    private String username;

    /**
     * 钱包总收入
     *
     * @mbg.generated
     */
    private BigDecimal income;

    /**
     * 钱包总支出
     *
     * @mbg.generated
     */
    private BigDecimal outcome;

    /**
     * 可用余额
     *
     * @mbg.generated
     */
    private BigDecimal balance;

    /**
     * 加密验证
     *
     * @mbg.generated
     */
    private String sign;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public BigDecimal getIncome() {
        return income;
    }

    public void setIncome(BigDecimal income) {
        this.income = income;
    }

    public BigDecimal getOutcome() {
        return outcome;
    }

    public void setOutcome(BigDecimal outcome) {
        this.outcome = outcome;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", income=").append(income);
        sb.append(", outcome=").append(outcome);
        sb.append(", balance=").append(balance);
        sb.append(", sign=").append(sign);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}